Part Number Hot Search : 
ZXM63N0 SA78CA CP210 2SB64 RTL8201 LQW15 11EWA 90858
Product Description
Full Text Search
 

To Download WM9703 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 WM9703
AC'97 Revision 2.1 Audio Codec
DESCRIPTION
WM9703 is a high-quality stereo audio codec compliant with the AC'97 Revision 2.1 specification. It performs full duplex 18-bit codec functions and supports variable sample rates from 8 to 48k samples/s and offers excellent quality with high SNR. Additional features include 3D sound and line-level outputs. In addition, support is provided for variable sample rates and accommodation is made for master/slave mode operation. WM9703 is interchangeable with AC'97 codecs from Wolfson and other suppliers. The WM9703 is fully operable on 3.3V or 5V or mixed 3.3/5V supplies, and is packaged in the industry standard 48-pin TQFP package with 7mm-body size.
AC'97 FEATURES
* * * * * * * * * 3.3V or 5V operation 18-bit stereo codec S/N ratio > 95dB Multiple stereo input mixer Mono and stereo volume control 48-pin TQFP package Power management features Low power implementation Very low standby power
AC'97 REVISION 2.1 FEATURES
* * * * * * Variable rate audio (VRA) support Analogue 3D stereo enhancement Line level outputs Supports Revision. 2.1 specified modem sample rates and filtering Master/slave ID selection PC-beep connection when device held reset
BLOCK DIAGRAM
VOL/ MUTE VOL/ MUTE
VOL/ MUTE VOL/ MUTE
(35,36) LINEOUT
(39,41) LNLVLOUT
KEY: MONO STEREO VOL STEREO DAC MUX
VOL/ MUTE
(37) MONOOUT
SRC (47) EAPD
VOL/ MUTE VOL/ MUTE VOL/ MUTE VOL/ MUTE VOL/ MUTE
3D (6) BITCLK
WM9703
SERIAL I/F
(10) SYNC (8) SDATAIN (5) SDATAOUT (11) RESETB
CD (18,20) LINEIN (23,24) VIDEO (16,17) AUX (14,15) PHONE (13) PCBEEP (12) MIC[1] (21) MUX MIC[2] (22)
VOL RECORD MUX AND MUTE 0dB/ 20dB
STEREO ADC
SRC
MASTER/ SLAVE SELECT
(45) CID[0] (46) CID[1] (2) XTLIN (3) XTLOUT
OSC
WOLFSON MICROELECTRONICS LTD w :: www.wolfsonmicro.com
Production Data, September 2001, Rev 3.5 Copyright 2001 Wolfson Microelectronics Ltd.
WM9703 PIN CONFIGURATION
LINEOUTR LINEOUTL VREFOUT AVDD1 AFILT1 AVSS1 CX3D2 CX3D1 VREF CAP2 CAP1
Production Data
ORDERING INFORMATION
DEVICE TEMP. RANGE 0 to 70 C
o
PACKAGE 48-pin TQFP
NC
WM9703CFT/V
36
35
34
33
32
31
30
29
28
27
MONOOUT AVDD2 LNLVLOUTL NC LNLVLOUTR AVSS2 NC NC CID0 CID1 EAPD NC
37 38 39 40 41 42 43 44 45 46 47 48 10 11 12 1 2 3 4 5 6 7 8 9
26
25 24 23 22 21 20
LINEINR LINEINL MIC2 MIC1 CDR CDGND CDL VIDEOR VIDEOL AUXR AUXL PHONE
WM9703
19 18 17 16 15 14 13
SDATAOUT
ABSOLUTE MAXIMUM RATINGS
Absolute Maximum Ratings are stress ratings only. Permanent damage to the device may be caused by continuously operating at or beyond these limits. Device functional operating limits and guaranteed performance specifications are given under Electrical Characteristics at the test conditions specified. ESD Sensitive Device. This device is manufactured on a CMOS process. It is therefore generically susceptible to damage from excessive static voltages. Proper ESD precautions must be taken during handling and storage of this device. As per specifications IPC/JEDEC J-STD-020A and JEDEC A113-B, this product requires specific storage conditions prior to surface mount assembly. It has been classified as having a Moisture Sensitivity Level of 2 and as such will be supplied in vacuum-sealed moisture barrier bags. CONDITION Digital supply voltage Analogue supply voltage Voltage range digital inputs Voltage range analogue inputs Operating temperature range, TA Storage temperature Package body temperature (soldering 10 seconds) Package body temperature (soldering 2 minutes) MIN -0.3V -0.3V DVSS -0.3V AVDD -0.3V 0oC -65oC MAX +7V +7V DVDD +0.3V AVDD +0.3V +70oC +150oC +240oC +183oC
Note: 1. The digital supply voltage (DVDD) must always be less than or equal to the analogue supply voltage (AVDD).
PCBEEP
DVDD1
DVDD2
DVSS1
DVSS2
RESETB
XTLOUT
BITCLK
SDATIN
XTLIN
SYNC
PD Rev 3.5 September 2001 2
WM9703
Production Data
RECOMMENDED OPERATING CONDITIONS
PARAMETER Digital supply range Analogue supply range Digital ground Analogue ground Difference DVSS to AVSS Analogue supply current Digital supply current Standby supply current (all PRs set) Analogue supply current Digital supply current Standby supply current (all PRs set) DVDD, AVDD = 5V DVDD, AVDD = 5V DVDD, AVDD = 5V DVDD, AVDD = 3.3V DVDD, AVDD = 3.3V DVDD, AVDD = 3.3V SYMBOL DVDD1, DVDD2 AVDD1, AVDD2 DVSS1, DVSS2 AVSS1, AVSS2 -0.3 TEST CONDITIONS MIN -10% -10% TYP 3.3 to 5.0 3.3 to 5.0 0 0 0 35 25 10 22 15 6 +0.3 MAX +10% +10% UNIT V V V V V mA mA A mA mA A
Note: 1. Both supplies should be powered on and off at the same time
ELECTRICAL CHARACTERISTICS
Test Characteristics: AVDD = 5V, GND = 0V ..............TA = 0oC to +70oC, unless otherwise stated DVDD = 3.3V, GND = 0V ..............TA = 0oC to +70oC, unless otherwise stated PARAMETER Input LOW level Input HIGH level Output LOW Output HIGH Input level Output level Reference Levels Reference input/output CAP2 impedance Mixer reference MIC reference ADC reference DAC reference MIDBUFF current sink (pins CAP1, AFILT2, VREF and VREFOUT) MIDBUFF current source (pins CAP1, AFILT1, VREF and VREFOUT) MIDBUFF current source (pins CAP1, AFILT1, VREF and VREFOUT) VREF VREFOUT CAP1 AFILT1 AVDD = 5V -5 CAP2 2/5 AVDD AVDD/2 75 Buffered CAP2 Buffered CAP2 Buffered CAP2 Buffered CAP2 -15 3/5 AVDD V kohms V V V V mA SYMBOL VIL VIH VOL VOH Minimum input impedance = 10k Into 10kohm load 0.9 x DVDD AVSS -100mV AVSS +100mV AVDD +100mV AVDD -100mV TEST CONDITIONS MIN AVSS -0.3 2.2 TYP MAX 0.8 AVDD +0.3 0.1 x DVDD UNIT V V V V V V
Digital Logic Levels (DVDD = 3.3 or 5.0V)
Analogue I/O Levels (Input Signals on any inputs, Outputs on LINEOUT L, R and MONOOUT)
Near rail to rail
AVDD = 5V
5
15
mA
AVDD = 3.3V
5
mA
PD Rev 3.5 September 2001 3
WM9703
Test Characteristics: AVDD = 5V, GND = 0V ..............TA = 0oC to +70oC, unless otherwise stated DVDD = 3.3V, GND = 0V ..............TA = 0oC to +70oC, unless otherwise stated PARAMETER SNR A-weighted (Note 1) Full scale output voltage THD Frequency response Transition band Stop band Out of band rejection Spurious tone reduction PSRR SNR A-weighted (Note 1) ADC input for full scale output THD Frequency response Transition band Stop band Stop band rejection PSRR SNR CD path A-weighted (Note 1) SNR Other paths A-weighted (Note 1) Maximum input voltage Maximum output voltage on LINEOUT THD Frequency response (+/-1dB) Input impedance (CD inputs) Input impedance (other mixer inputs) Input impedance Mic inputs PSRR SNR A-weighted (Note 1) Full scale output voltage THD Frequency response Transition band Stop band Out of band rejection Spurious tone reduction PSRR 20 to 20kHz VREF = 1.65V 3dBFs input 20 19,200 28,800 -40 -100 40 At any gain At max gain At 0db gain At max gain At 0db gain 20 to 20kHz 0dBV input 20 to 20kHz 90 85 AVSS 1.0 74 20 10 10 15 20 100 80 15 40 96 0.7 90 19,200 28,800 Mixer Circuit Specifications (AVDD = 5V) 48kHz sampling 100 95 1.0 1.8 90 20,000 AVDD VREF = 2.5V -6dBV input 74 20 19,200 28,800 -74 40 20 to 20kHz 75 ADC Circuit Specifications (AVDD = 5V) 48kHz sampling 85 1.0 90 19,200 28,800 VREF = 2.5V -3dBFs input 74 20 19,200 28,800 -40 -100 40 SYMBOL TEST CONDITIONS MIN 85 TYP 96 1.0 90 19,200 28,800 MAX
Production Data
UNIT dB Vrms dB Hz Hz Hz dB dB dB dB Vrms dB Hz Hz Hz dB dB dB dB Vrms Vrms dB Hz kohm kohm kohm kohm kohm dB dB Vrms dB Hz Hz Hz dB dB dB
DAC Circuit Specifications (AVDD = 5V) 48kHz sampling
10
DAC Circuit Specifications (AVDD = 3.3V) 48kHz sampling
PD Rev 3.5 September 2001 4
WM9703
Test Characteristics: AVDD = 5V, GND = 0V ..............TA = 0oC to +70oC, unless otherwise stated DVDD = 3.3V, GND = 0V ..............TA = 0oC to +70oC, unless otherwise stated PARAMETER SNR A-weighted (Note 1) ADC input for full scale output THD Frequency response Transition band Stop band Stop band rejection PSRR SNR CD path A-weighted (Note 1) SNR Other paths A-weighted (Note 1) Maximum input voltage Maximum output voltage on LINEOUT THD Frequency response (+/-1dB) Input impedance (CD inputs) Input impedance (other Mixer inputs) Input impedance MIC inputs PSRR Clock Frequency Range Crystal clock BIT_CLK frequency SYNC frequency Note: 1. 24.576 12.288 48.0 At any gain At max gain At 0db gain At max gain At 0db gain 20 to 20kHz -3dBV input 20 15 20 100 80 15 40 20 to 20kHz Mixer Circuit Specifications (AVDD = 3.3V) 48kHz sampling 97 92 0.7 0.7 90 20,000 VREF = 1.65V -9dBV input 20 19,200 28,800 -74 40 SYMBOL TEST CONDITIONS MIN TYP 82 0.7 80 19,200 28,800 MAX
Production Data
UNIT dB Vrms dB Hz Hz Hz dB dB dB dB Vrms Vrms dB Hz kohm kohm kohm kohm kohm dB MHz MHz kHz
ADC Circuit Specifications (AVDD = 3.3V) 48kHz sampling
SNR is the ratio of 0dB signal output level to the output level with no signal, measured A-weighted over a 20Hz to 20kHz bandwidth.
PD Rev 3.5 September 2001 5
WM9703 PIN DESCRIPTION
PIN 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 NAME DVDD1 XTLIN XTLOUT DVSS1 SDATAOUT BITCLK DVSS2 SDATAIN DVDD2 SYNC RESETB PCBEEP PHONE AUXL AUXR VIDEOL VIDEOR CDL CDGND CDR MIC1 MIC2 LINEINL LINEINR AVDD1 AVSS1 VREF VREFOUT NC NC NC CAP2 CX3D1 CX3D2 LINEOUTL LINEOUTR MONOOUT AVDD2 LNLVLOUTL NC LNLVLOUTR AVSS2 NC NC CID0 CID1 EAPD NC Digital input Digital input Digital output Analogue output Supply Analogue input Analogue output Analogue input Analogue output Analogue output Analogue output Supply Analogue output Supply Digital input Digital output Supply Digital input Digital output (master) Digital input (slave) Supply Digital output Supply Digital input Digital input Analogue input Analogue input Analogue input Analogue input Analogue input Analogue input Analogue input Analogue input Analogue input Analogue input Analogue input Analogue input Analogue input Supply Supply Analogue output Analogue output TYPE Digital positive supply DESCRIPTION
Production Data
Clock crystal connection or clock input (XTAL not used) Clock crystal connection Digital ground supply Serial data input Serial interface clock output to AC'97 controller or input from AC'97 master codec Digital ground supply Serial data output to AC'97 controller Digital positive supply Serial interface sync pulse from AC'97 controller NOT reset input (active low, resets registers) Mixer input, typically for PCBEEP signal Mixer input, typically for PHONE signal Mixer input, typically for AUX signal Mixer input, typically for AUX signal Mixer input, typically for VIDEO signal Mixer input, typically for VIDEO signal Mixer input, typically for CD signal CD input common mode reference (ground) Mixer input, typically for CD signal Mixer input with extra gain if required Mixer input with extra gain if required Mixer input, typically for LINE signal Mixer input, typically for LINE signal Analogue positive supply Analogue ground supply, chip substrate Buffered CAP2 Reference for microphones; buffered CAP2 No internal connection No internal connection No internal connection Reference input/output; pulls to midrail if not driven Output pin for 3D difference signal Input pin for 3D difference signal Main analogue output for left channel Main analogue output for right channel Main mono output Analogue positive supply Left channel line level output No internal connection Right channel line level output Analogue ground supply, chip substrate No internal connection No internal connection Master/slave ID select (internal pull-up) Master/slave ID select (internal pull-up) External amplifier powerdown/GPO No internal connection
Note: 1 Pins 27, 29 and 31 have an internal connection. PD Rev 3.5 September 2001 6
WM9703
Production Data
DETAILED TIMING DIAGRAMS
Test Characteristics: AVDD = 5V, GND = 0V ..............TA = 0oC to +70oC, unless otherwise stated. DVDD = 3.3V, GND = 0V ..............TA = 0oC to +70oC, unless otherwise stated. All measurements are taken at 10% to 90% VDD, unless otherwise stated.
AC-LINK LOW POWER MODE
SLOT 1 SYNC
SLOT 2
BIT_CLK
SDATA_OUT
WRITE TO 0X20
DATA PR4
DON'T CARE
tS2_PDOWN SDATA_IN
Figure 1 AC-Link Powerdown Timing PARAMETER End of slot 2 to BITCLK SDATIN low SYMBOL tS2_PDOWN MIN TYP MAX 1.0 UNIT s
COLD RESET
tRST_LOW RESETB tRST2CLK
BIT_CLK
Figure 2 Cold Reset Timing PARAMETER RESETB active low pulse width RESETB inactive to BIT_CLK start-up delay SYMBOL tRST_LOW tRST2_CLK MIN 1.0 162.8 TYP MAX UNIT s ns
PD Rev 3.5 September 2001 7
WM9703
WARM RESET
tSYNC_HIGH SYNC tSYNC2CLK
Production Data
BIT_CLK
Figure 3 Warm Reset Timing PARAMETER SYNC active high pulse width SYNC inactive to BIT_CLK startup delay SYMBOL tSYNC_HIGH tSYNC2_CLK 162.4 MIN TYP 1.3 MAX UNIT s ns
CLOCK SPECIFICATIONS
tCLK_HIGH BIT_CLK tCLK_PERIOD tSYNC_HIGH SYNC tSYNC_PERIOD tSYNC_LOW tCLK_LOW
Figure 4 Clock Specifications (50pF External Load) Note: Worst case duty cycle restricted to 40/60. PARAMETER BIT_CLK frequency BIT_CLK period BIT_CLK output jitter BIT_CLK high pulse width (Note 1) BIT_CLK low pulse width (Note 1) SYNC frequency SYNC period SYNC high pulse width SYNC low pulse width tSYNC_PERIOD tSYNC_HIGH tSYNC_LOW tCLK_HIGH tCLK_LOW 32.56 32.56 40.7 40.7 48.0 20.8 1.3 19.5 tCLK_PERIOD SYMBOL MIN TYP 12.288 81.4 750 48.84 48.84 MAX UNIT MHz ns ps ns ns kHz s s s
PD Rev 3.5 September 2001 8
WM9703
Production Data
DATA SETUP AND HOLD (50PF EXTERNAL LOAD)
tSETUP BIT_CLK tHOLD SYNC SDATA_OUT Figure 5 Data Setup and Hold (50pF External Load) Note: Setup and hold time parameters for SDATA_IN are with respect to AC'97 Controller. PARAMETER Setup to falling edge of BIT_CLK Hold from falling edge of BIT_CLK SYMBOL tSETUP tHOLD MIN 15.0 5.0 TYP MAX UNIT ns ns
SIGNAL RISE AND FALL TIMES
triseCLK BIT_CLK triseSYNC SYNC triseDIN SDATA_IN triseDOUT SDATA_OUT tfallDOUT tfallDIN tfallSYNC tfallCLK
Figure 6 Signal Rise and Fall Times (50pF External Load) PARAMETER BIT_CLK rise time BIT_CLK fall time SYNC rise time SYNC fall time SDATA_IN rise time SDATA_IN fall time SDATA_OUT rise time SDATA_OUT fall time SYMBOL triseCLK tfallCLK triseSYNC tfallSYNC triseDIN triseDIN triseDOUT tfallDOUT MIN 2 2 2 2 2 2 2 2 TYP MAX 6 6 6 6 6 6 6 6 UNIT ns ns ns ns ns ns ns ns
PD Rev 3.5 September 2001 9
WM9703
SYSTEM INFORMATION
Production Data
MIC1 MIC2 PCBEEP
CD, VIDEO, AUX, LINEINL/ R PHONE
22
21
12
13 35 LINEOUTL/R 36
RESET
AC'97 DIGITAL CONTROLLER
BITCL K SYNC SDATAI N SDATAOU T
39 6 10 8 37 5
WM9703
41
CHIP SELECT
{
CID0 CID1
45 46
Figure 8 Revision 2.1 Compliant 2-Channel Codec
SDATAOUT BITCLK SDATAIN SYNC PC I/O RESET CHIPSET OR AC'97 CONTROLLER
SDATAOUT BITCLK SDATAIN SYNC RESET XTLOUT
LINEOUTL
Front R data
WM9703
LINEOUTR
Front L data
ID=00
XTLIN SDATAOUT BITCLK SDATAIN SYNC RESET
LINEOUTL
Surround R data
WM9703
LINEOUTR
Surround L data
ID=10
Figure 9 WM9703 in a 4 Channel System
PD Rev 3.5 September 2001 10
{
11
LNLVLOUTL/R
MONOOUT
WM9703
Production Data
SDATAOUT BITCLK SDATAIN SYNC PC I/O RESET CHIPSET OR AC'97 CONTROLLER
SDATAOUT BITCLK SDATAIN SYNC RESET XTLOUT
LINEOUTL
Front R data
WM9703
LINEOUTR
Front L data
ID=00
XTLIN SDATAOUT BITCLK SDATAIN SYNC RESET
LINEOUTL
Surround R data
WM9703
LINEOUTR
Surround L data
ID=10
XTLIN SDATAOUT BITCLK SDATAIN SYNC RESET
LINEOUTL
Centre data
WM9703
LINEOUTR
LFE data
ID=11
Figure 10 WM9703 in a 6 Channel System
SDATAOUT BITCLK SDATAIN SYNC RESETB
PC I/O CHIPSET OR AC'97 CONTROLLER
Option of using RESETB or SDATAIN to disable NB CODEC when docked.
LINEOUTL SDATAOUT BITCLK SDATAIN WM9703 SYNC RESETB
CID0 CID1
SDATAOUT BITCLK SDATAIN SYNC RESETB
LINEOUTR
ID=00
WM9703
ID=00
NOTEBOOK/ LAPTOP
If pins CID0/1 not driven then CODEC ID defaults to 00. When docked CID1 is pulled low making CODEC a 'slave' (01) stopping BITCLK
DOCKING STATION
Figure 11 WM9703 in a Docking Station System
PD Rev 3.5 September 2001 11
WM9703 DEVICE DESCRIPTION
INTRODUCTION
The WM9703 is fully compliant with Revision 2.1 of the AC'97 specification.
Production Data
The WM9703 comprises a stereo 18-bit Codec, (that is, 2 ADCs and 2 DACs) plus a comprehensive analogue mixer with 4 sets of stereo inputs, plus phone, 2 microphone, and PC-beep inputs. Additionally, on-chip reference generation circuits generate the necessary bias voltages for the device, and a bidirectional serial interface allows transfer of control data and DAC and ADC words to and from the AC'97 controller. The WM9703 supports 18-bit resolution within the DAC and ADC functions, but the AC'97 serial interface specification allows any word length up to 20-bits to be written to, or read from, the AC'97 Codec. These words are MSB justified, and any LSBs not used will simply default to 0. Normally it is anticipated that 16-bit words will be used in most PC type systems. Therefore, for the DAC, 16-bit words will be downloaded into the Codec from the controller, along with padding of 0s to make the 16-bit word up to 20-bit length. In this case, the WM9703 will process the 16-bit word along with 0 padding bits in the 2 LSB locations (to make 18-bit). At the ADC output, WM9703 will provide an 18-bit word, again with 0s in the two LSB locations (20-bit). The AC'97 controller will then ignore the 4 LSBs of the 20-bit word. When the WM9703 is interrogated, it responds indicating it is an 18-bit device. The WM9703 has the ADC and DAC functions implemented using oversampled, or sigma-delta converters, and uses on-chip digital filters to convert these 1-bit signals to and from the 48ks/s 16/18-bit PCM words that the AC'97 controller requires. The digital parts of the device are powered separately from the analogue to optimise performance and 3.3V digital and 5V analogue supplies may be used on the same device to further optimise performance. Digital IOs are 5V tolerant when the analogue supplies are 5V, so the WM9703 may be connected to a controller running on 5V supplies, but use 3.3V for the digital section of WM9703. WM9703 is also capable of operating with a 3.3V supply only (digital and analogue). An internally generated midrail reference is provided at pin CAP2 which is used as the chip reference. This pin should be heavily decoupled. The WM9703 is not limited to PC-only applications. The ability to powerdown sections of the device selectively, and the option to choose alternative master clock, and hence sample rates, means that many alternative applications in areas such as telecomms, may be anticipated. Additional features added to the Intel AC'97 specification, such as the EAPD (External Amplifier Power Down) bit, internal connection of PC-beep to the outputs in the case where the device is reset, are supported, along with optional features such as variable sample rate support.
3D STEREO ENHANCEMENT
This device contains a stereo enhancement circuit, designed to optimise the listening experience when the device is used in a typical PC operating environment. That is, with a pair of speakers placed either side of the monitor with little spatial separation. This circuit creates a difference signal by differencing left and right channel playback data, then filters this difference signal using lowpass and highpass filters whose time constants are set using external capacitors connected to the CX3D pins 33 and 34. Typically the values of 100nF and 47nF set highpass and lowpass poles at about 100Hz and 1kHz respectively. This frequency band corresponds to the range over which the ear is most sensitive to directional effects. The filtered difference signal is gain adjusted by an amount set using the 4-bit value written to register 22h bits 3 to 0. Value 0h is disable, value Fh is maximum effect. Typically a value of 8h is optimum. The user interface would most typically use a slider type of control to allow the user to adjust the level of enhancement to suit the program material. Bit D13 3D in register 20h is the overall 3D enable bit. The capability register 00h reads back the value 11000 in bits D14 to D10. This corresponds to decimal 24, which is registered with Intel as Wolfson Stereo Enhancement. Note that the external capacitors setting the filtering poles applied to the difference signal may be adjusted in value, or even replaced with a direct connection between the pins. If such adjustments are made, then the amount of difference signal fed back into the main signal paths may be significant, and can cause large signals which may limit, distort, or overdrive signal paths or speakers. Adjust these values with care, to select the preferred acoustic effect. There is no provision for pseudo-stereo effects. Mono signals will have no enhancement applied (if the signals are in phase and of the same amplitude).
PD Rev 3.5 September 2001 12
WM9703
Production Data Signals from the PCM DAC channels do not have stereo enhancement applied. It is assumed that these signals will already have been processed digitally with any required 3D enhancement effect. Applying the analogue 3D enhancement will corrupt this digital effect. This is equivalent to setting the POP bit in register 20h. As a result, the readback value of this bit is fixed as 1, and attempts to change it will be ignored. POP bit is set to one and cannot be re-set.
VARIABLE SAMPLE RATE SUPPORT
The DACs and ADCs on this device support all the recommended sample rates specified in the Intel Revision 2.1 specification for both audio and modem rates. Default rates are 48ks/s. If alternative rates are selected, the AC'97 interface continues to run at 48k words per second, but data is transferred across the link in bursts such that the net sample rate selected is achieved. It is up to the AC'97 Revision 2.1 compliant controller to ensure that data is supplied to the AC link, and received from the AC link, at the appropriate rate. The device supports on demand sampling. That is, when the DAC signal processing circuits need another sample, a sample request is sent to the controller which must respond with a data sample in the next frame it sends. For example, if a rate of 24ks/s is selected, on average the device will request a sample from the controller every other frame, for each of the stereo DACs. Note that if an unsupported rate is written to one of the rate registers, the rate will default to the nearest rate supported. The register will then respond when interrogated with the supported rate the device has defaulted to. ADCs are controlled similarly but with one difference: Normally the left and right channel ADCs sample at the same rate. AUDIO SAMPLE RATE 8000 11025 16000 22050 44100 48000 CONTROL VALUE D15-D0 1F40 2B11 3E80 5622 AC44 BB80 MODEM SAMPLE RATE 7200 8228.57 (57600/7) 8400 9000 9600 10285.71 (72000/7) 12000 13714.28 (96000/7) 19200 24000 CONTROL VALUE D15-D0 1C20 2024 20D0 2328 2580 282D 2EE0 3592 4B00 5DC0
Table 3 Variable Sample Rates Supported The following table shows which registers control which DAC rates, versus Mode and ID selected CODEC ID 00 and 01 10 11 FRONT DAC RATE REGISTER 2Ch 2Eh 2Ch (centre) and 30h (LFE) ADC RATE REG 32h
Table 4 Variable Rate Register Location Versus ID
PD Rev 3.5 September 2001 13
WM9703
GAIN CONTROL REGISTER LOCATION VERSUS ID
PGA DAC CODEC ID 0x 10 11 0x 10 11 0x 10 11 CONTROL REG 18h MUTE DEFAULT
Production Data
Muted (bit-15) AND with 38h, 7, 15 AND with 36h, 7, 15 Not-muted (bit-15) Muted (15) Muted (7 and 15) Muted (7 and15)
Mixer
72h 02h 38h 36h
Volume
Table 5 Gain Control Register Location Versus ID
MASTER/SLAVE ID0/1 SUPPORT
WM9703 supports operation as either a master or a slave codec. Configuration of the device as either a master or as a slave, is selected by tying the CID pins CID0 and CID1, pins 45 and 46 on the package. Fundamentally, a device identified as a master (ID = 00) produces BITCLK as an output, whereas a slave (any other ID) must be provided with BITCLK as an input. This has the obvious implication that if the master device on an AC link is disabled, the slave devices cannot function. The AC'97 Revision 2.1 specification defines that the CID pins have inverting sense, and are provided with internal weak pull ups. Therefore, if no connections are made to the CID0/1 pins, then the pins pull hi and an ID = 00 is selected, i.e. master. External connects to ground will select other IDs. PIN46 CID1 NC NC Ground Ground Table 6 ID Selection WM9703 supports the AMAP function whereby selection of an ID will automatically map the data from the interface onto the PCM DACs. This allows a 6-channel audio system to be built using 3 WM9703 devices, with one device configured as a master (ID 00) and the other two as slaves (ID 10 and 11). (See figure 10). In this case, the main channel DACs will have mapped onto them the data from the normal, surround, and LFE and centre slots respectively, without any user selection. CODEC ID AC-LINK FRAME DATA USED FOR DACS PCM left DAC uses data from slot No. 00 01 10 11 3 3 7 6 PCM right DAC uses data from slot No. 4 4 8 9 Original definition (master) Original definition (docking) Left/right surround channels Centre/LFE channels COMMENTS PIN45 CID0 NC Ground NC Ground ID SELECTED 00 01 10 11 MASTER OR SLAVE Master Slave Slave Slave BITCLK Output Input Input Input
The codec ID is available to the controller via register 28h, bits D15 and D14 Table 7 Default Slot to DAC Mappings Based on Codec ID CODEC ID 00 or 01 10 11 SLOTS MAPPED TO DACS 3 and 4 7 and 8 6 and 9
Table 8 Slot to DAC and Mapping Based on Codec ID
PD Rev 3.5 September 2001 14
WM9703
Production Data
CONTROL INTERFACE
A digital interface has been provided to control the WM9703 and transfer data to and from it. This serial interface is compatible with the Intel AC'97. The main control interface functions are: * * * Control of analogue gain and signal paths through the mixer Bi-directional transfer of ADC and DAC words to and from AC'97 controller Selection of powerdown modes
AC-LINK DIGITAL SERIAL INTERFACE PROTOCOL
The WM9703 incorporates a 5-pin digital serial interface that links it to the AC'97 controller. AC-link is a bi-directional, fixed rate, serial PCM digital stream. It handles multiple input and output audio streams, as well as control register accesses employing a time division multiplexed (TDM) scheme. The AC-link architecture divides each audio frame into 12 outgoing and 12 incoming data streams, each with 20-bit sample resolution. With a minimum required DAC and ADC resolution of 16-bits, AC'97 may also be implemented with 18 or 20-bit DAC/ADC resolution, given the headroom that the AC-link architecture provides. The WM9703 provides support for 18-bit operation.
SLOT NUMBER
0
1
2
3
4
5
6
7
8
9
10
11
12
SYNC
SDATA_OUT
TAG CODEC ID
CMD ADR
CMD DATA
PCM LEFT
PCM RIGHT
RSRVD
PCM CENTRE
PCM L SURR
PCM R SURR
PCM LFE
RSRVD PCM L (n+1)
RSRVD PCM R (n+1)
RSRVD PCM C (n+1)
SDATA_IN
TAG
STATUS ADDR
STATUS DATA
PCM LEFT
PCM RIGHT
RSRVD
RSRVD
RSRVD
RSRVD
RSRVD
RSRVD
RSRVD
RSRVD
SLOTREQ 3-12
DATA PHASE TAG PHASE
Figure 12 AC'97 Standard Bi-directional Audio Frame
TAG PHASE
DATA PHASE 20.8S (48kHz)
SYNC
12.288MHz 81.4nS
BIT_CLK
SDATA_OUT
VALID FRAME
SLOT(1)
SLOT(2)
SLOT(12)
'0'
(ID1)
(ID0)
19 SLOT (1)
0
19 SLOT (2)
0
19 SLOT (3)
0
19 SLOT (12)
0
END OF PREVIOUS AUDIO FRAME
TIME SLOT 'VALID' BITS ('1' = TIME SLOT CONTAINS VALID PCM DATA)
Figure 13 AC-link Audio Output Frame
PD Rev 3.5 September 2001 15
WM9703
The datastreams currently defined by the AC'97 specification include: PCM playback - 2 output slots PCM record data - 2 input slots Control - 2 output slots Status - 2 input slots Optional modem line codec output 1 output slot Optional modem line codec input - 1 input slot Optional dedicated microphone input 1 input slot
Production Data
2-channel composite PCM output stream 2-channel composite PCM input stream Control register write port Control register read port Modem line codec DAC input stream Modem line codec ADC output stream Dedicated microphone input stream in support of stereo AEC and/or other voice applications.
Synchronisation of all AC-link data transactions is signalled by the WM9703 controller. The WM9703 drives the serial bit clock onto AC-link, which the AC'97 controller then qualifies with a synchronisation signal to construct audio frames. SYNC, fixed at 48kHz, is derived by dividing down the serial clock (BIT_CLK). BIT_CLK, fixed at 12.288MHz, provides the necessary clocking granularity to support 12, 20-bit outgoing and incoming time slots. AC-link serial data is transitioned on each rising edge of BIT_CLK. The receiver of AC-link data, (WM9703 for outgoing data and AC'97 controller for incoming data), samples each serial bit on the falling edges of BIT_CLK. The AC-link protocol provides for a special 16-bit time slot (slot 0) wherein each bit conveys a valid tag for its corresponding time slot within the current audio frame. A 1 in a given bit position of slot 0 indicates that the corresponding time slot within the current audio frame has been assigned to a data stream, and contains valid data. If a slot is tagged invalid, it is the responsibility of the source of the data, (the WM9703 for the input stream, AC'97 controller for the output stream); to stuff all bit positions with 0s during that slot's active time. SYNC remains high for a total duration of 16 BIT_CLKs at the beginning of each audio frame. The portion of the audio frame where SYNC is high is defined as the Tag Phase. The remainder of the audio frame where SYNC is low is defined as the Data Phase. Additionally, for power savings, all clock, sync, and data signals can be halted. This requires that the WM9703 be implemented as a static design to allow its register contents to remain intact when entering a power savings mode.
AC-LINK AUDIO OUTPUT FRAME (SDATA_OUT)
The audio output frame data streams correspond to the multiplexed bundles of all digital output data targeting the WM9703's DAC inputs, and control registers. As briefly mentioned earlier, each audio output frame supports up to 12 20-bit outgoing data time slots. Slot 0 is a special reserved time slot containing 16-bits, which are used for AC-link protocol infrastructure.
OUTPUT TAG SLOT (16-BITS)
Bit (15) Bit (14) Bit (13) Bit (12:3) Bit 2 Bit (1:0) Frame Valid Slot 1 Valid Command Address bit Slot 2 Valid Command Data bit Slot 3-12 Valid bits as defined by AC'97 Reserved 2-bit Codec ID field (Set to 0) (00 reserved for Primary; 01, 10, 11 indicate Secondary) (Primary Codec only) (Primary Codec only)
New definitions for Secondary Codec Register Access Within slot 0 the first bit is a global bit (SDATA_OUT slot 0, bit 15) which flags the validity for the entire audio frame. If the Valid Frame bit is a 1, this indicates that the current audio frame contains at least one time slot of valid data. The next 12-bit positions sampled by the WM9703 indicate which of the corresponding 12 time slots contain valid data. In this way data streams of differing sample rates can be transmitted across AC-link at its fixed 48kHz audio frame rate. Figure 13 illustrates the time slot based AC-link protocol.
PD Rev 3.5 September 2001 16
WM9703
WM9703 SAMPLES SYNC ASSERTION HERE
Production Data
SYNC
WM9703 SAMPLES FIRST SDATA_OUT BIT OF FRAME HERE
BIT_CLK
SDATA_OUT
VALID FRAME
SLOT (1)
SLOT (2)
END OF PREVIOUS AUDIO FRAME
Figure 14 Start of an Audio Output Frame A new audio output frame begins with a low to high transition of SYNC as shown in Figure 14. SYNC is synchronous to the rising edge of BIT_CLK. On the immediately following falling edge of BIT_CLK, the WM9703 samples the assertion of SYNC. This falling edge marks the time when both sides of AC-link are aware of the start of a new audio frame. On the next rising edge of BIT_CLK, AC'97 transitions SDATA_OUT into the first bit position of slot 0 (Valid Frame bit). Each new bit position is presented to AC-link on a rising edge of BIT_CLK, and subsequently sampled by the WM9703 on the following falling edge of BIT_CLK. This sequence ensures that data transitions and subsequent sample points for both incoming and outgoing data streams are time aligned. Baseline AC'97 specified audio functionality MUST ALWAYS sample rate convert to and from a fixed 48ks/s on the AC'97 controller. This requirement is necessary to ensure that interoperability between the AC'97 controller and the WM9703, among other things, can be guaranteed by definition for baseline specified AC'97 features. SDATA_OUT's composite stream is MSB justified (MSB first) with all non-valid slot bit positions stuffed with 0s by the AC'97 controller. In the event that there are less than 20 valid bits within an assigned and valid time slot, the AC'97 controller always stuffs all trailing non-valid bit positions of the 20-bit slot with 0s. As an example, consider an 8-bit sample stream that is being played out to one of the WM9703's DACs. The first 8 bit positions are presented to the DAC (MSB justified) followed by the next 12 bit positions, which are stuffed with 0s by the AC'97 controller. This ensures that regardless of the resolution of the implemented DAC (16, 18 or 20-bit), no DC biasing will be introduced by the least significant bits. When mono audio sample streams are output from the AC'97 controller, it is necessary that BOTH left and right sample stream time slots be filled with the same data.
SLOT 1: COMMAND ADDRESS PORT
The command port is used to control features, and monitor status for the WM9703 functions including, but not limited to, mixer settings, and power management (refer to the register section). The control interface architecture supports up to 64, 16-bit read/write registers, addressable on even byte boundaries. Only the even registers (00h, 02h, etc.) are valid, odd register (01h, 03h, etc.) accesses are discouraged (if supported they should default to the preceding even byte boundary i.e. a read to 01h will return the 16-bit contents of 00h). The WM9703's control register file is nonetheless readable as well as writeable to provide more robust testability. Audio output frame slot 1 communicates control register address, and read/write command information to the WM9703.
COMMAND ADDRESS PORT BIT ASSIGNMENTS
Bit (19) Bit (18:12) Bit (11:0) Read/write command (1 = read, 0 = write) Control register index (64 16-bit locations, addressed on even byte boundaries) Reserved (stuffed with 0s)
The first bit (MSB) sampled by the WM9703 indicates whether the current control transaction is a read or write operation. The following 7 bit positions communicate the targeted control register
PD Rev 3.5 September 2001 17
WM9703
Production Data address. The trailing 12 bit positions within the slot are reserved and must be stuffed with 0s by the AC'97 controller.
SLOT 2: COMMAND DATA PORT
The command data port is used to deliver 16-bit control register write data in the event that the current command port operation is a write cycle. (As indicated by slot 1, bit 19). Bit (19:4) Bit (3:0) Control register write data (stuffed with 0s if current operation is a read) Reserved (stuffed with 0s)
If the current command port operation is a read then the entire time slot must be stuffed with 0s by the AC'97 controller.
SLOT 3: PCM PLAYBACK LEFT CHANNEL
Audio output frame slot 3 is the composite digital audio left playback stream. In a typical Games Compatible PC this slot is composed of standard PCM (.wav) output samples digitally mixed (on the AC'97 controller or host processor) with music synthesis output samples. If a sample stream of resolution less than 20-bits is transferred, the AC'97 controller must stuff all trailing non-valid bit positions within this time slot with 0s.
SLOT 4: PCM PLAYBACK RIGHT CHANNEL
Audio output frame slot 4 is the composite digital audio right playback stream. In a typical Games Compatible PC this slot is composed of standard PCM (.wav) output samples digitally mixed (on the AC'97 controller or host processor) with music synthesis output samples. If a sample stream of resolution less than 20-bits is transferred, the AC'97 controller must stuff all trailing non-valid bit positions within this time slot with 0s.
SLOT 5: OPTIONAL MODEM LINE CODEC
Audio output frame slot 5 contains the MSB justified modem DAC input data. This optional AC'97 feature is not supported in the WM9703, and if data is written to this location it is ignored. This may be determined by the AC'97 controller interrogating the WM9703 Vendor ID registers.
SLOTS 6 TO 9: SURROUND SOUND DATA
Audio output frame slots 6 to 9 are used to send surround sound data. This data is mapped onto the internal DACs depending on Codec ID, see Table 8.
SLOTS 10 AND 11: LINE2 AND HANDSET DAC
These data slots are not supported.
SLOT 12: GPIO CONTROL
These data slots are not supported.
AC-LINK AUDIO INPUT FRAME (SDATA_IN)
TAG PHASE DATA PHASE 20.8S (48kHz) SYNC
12.288MHz 81.4nS
BIT_CLK
SDATA_IN
CODEC READY
SLOT(1)
SLOT(2)
SLOT(12)
'0'
'0'
'0'
19 SLOT (1)
0
19 SLOT (2)
0
19 SLOT (3)
0
19 SLOT (12)
0
END OF PREVIOUS AUDIO FRAME
TIME SLOT 'VALID' BITS ('1' = TIME SLOT CONTAINS VALID PCM DATA)
Figure 15 AC-link Audio Input Frame
PD Rev 3.5 September 2001 18
WM9703
Production Data The audio input frame data streams correspond to the multiplexed bundles of all digital input data targeting the AC'97 controller. As is the case for audio output frame, each AC-link audio input frame consists of 12, 20-bit time slots. Slot 0 is a special reserved time slot containing 16-bits, which are used for AC-link protocol infrastructure. Within slot 0 the first bit is a global bit (SDATA_IN slot 0, bit 15) which flags whether the WM9703 is in the Codec Ready state or not. If the Codec Ready bit is a 0, this indicates that the WM9703 is not ready for normal operation. This condition is normal following the desertion of power on reset for example, while the WM9703's voltage references settle. When the AC-link Codec Ready indicator bit is a 1, it indicates that the AC-link and the WM9703 control and status registers are in a fully operational state. The AC'97 controller must further probe the Powerdown Control/Status Register to determine exactly which subsections, if any, are ready. Prior to any attempts at putting the WM9703 into operation the AC'97 controller should poll the first bit in the audio input frame (SDATA_IN slot 0, bit 15) for an indication that the WM9703 has gone Codec Ready. Once the WM9703 is sampled Codec Ready then the next 12 bit positions sampled by the AC'97 controller indicate which of the corresponding 12 time slots are assigned to input data streams, and that they contain valid data. Figure 15 illustrates the time slot based AC-link protocol. There are several subsections within the WM9703 that can independently go busy/ready. It is the responsibility of the WM9703 controller to probe more deeply into the WM9703 register file to determine which the WM9703 subsections are actually ready.
WM9703 SAMPLES SYNC ASSERTION HERE
SYNC
AC'97 CONTROLLER SAMPLES FIRST SDATA_IN BIT OF FRAME HERE
BIT_CLK
SDATA_IN
CODEC READY
SLOT (1)
SLOT (2)
END OF PREVIOUS AUDIO FRAME
Figure 16 Start of an Audio Input Frame A new audio input frame begins with a low to high transition of SYNC as shown in Figure 16. SYNC is synchronous to the rising edge of BIT_CLK. On the immediately following falling edge of BIT_CLK, AC'97 samples the assertion of SYNC. This falling edge marks the time when both sides of AC-link are aware of the start of a new audio frame. On the next rising of BIT_CLK, AC'97 transitions SDATA_IN into the first bit position of slot 0 ("Codec Ready" bit). Each new bit position is presented to AC-link on a rising edge of BIT_CLK, and subsequently sampled by the AC'97 Controller on the following falling edge of BIT_CLK. This sequence ensures that data transitions and subsequent sample points for both incoming and outgoing data streams are time aligned. SDATA_IN's composite stream is MSB justified (MSB first) with all non-valid bit positions (for assigned and/or unassigned time slots) stuffed with 0s by the WM9703. SDATA_IN should be sampled on the falling edges of BIT_CLK.
SLOT 1: STATUS ADDRESS PORT
The status port is used to monitor status for the WM9703 functions including, but not limited to, mixer settings, and power management. Audio input frame slot 1 echoes the control register index, for historical reference, for the data to be returned in slot 2. (Assuming that slots 1 and 2 had been tagged valid by the WM9703 during slot 0).
STATUS ADDRESS PORT BIT ASSIGNMENTS:
Bit (19) Bit (18:12) RESERVED (stuffed with 0s) Control register index (echo of register index for which data is being returned) PD Rev 3.5 September 2001 19
WM9703
Bit (11:2) Bit (1:0) Variable sample rate SLOTREQ bits. RESERVED (stuffed with 0s)
Production Data
The first bit (MSB) generated by the WM9703 is always stuffed with an 0. The following 7 bit positions communicate the associated control register address. The next 10 bits support the AC'97 Rev 2.1 variable sample rate signalling protocol, and the trailing 2 bit positions are stuffed with 0s by AC'97.
SLOT 2: STATUS DATA PORT
The status data port delivers 16-bit control register read data. Bit (19:4) Bit (3:0) Control register read data (stuffed with 0s if tagged invalid by WM9701) RESERVED (stuffed with 0s)
If slot 2 is tagged invalid by the WM9703, then the entire slot will be stuffed with 0s by the WM9703.
SLOT 3: PCM RECORD LEFT CHANNEL
Audio input frame slot 3 is the left channel output of the WM9703's input Mux, post-ADC. The WM9703 sends out its ADC output data (MSB first), and stuffs any trailing non-valid bit positions with 0s to fill out its 20-bit time slot.
SLOT 4: PCM RECORD RIGHT CHANNEL
Audio input frame slot 4 is the right channel output of the WM9703's input Mux, post-ADC. The WM9703's ADCs can be implemented to support 16, 18, or 20-bit resolution. The WM9703 ships out its ADC output data (MSB first), and stuffs any trailing non-valid bit positions with 0s to fill out its 20-bit time slot.
SLOT 5: OPTIONAL MODEM LINE CODEC
Audio input frame slot 5 contains MSB justified modem ADC output data. This optional feature is not supported by WM9703. This may be determined by the AC'97 controller interrogating the WM9703 Vendor ID register.
SLOT 6: OPTIONAL DEDICATED MICROPHONE RECORD DATA
Audio input frame slot 6 is an optional (post-ADC) third PCM system, input channel available for dedicated use by a desktop microphone. This optional AC'97 feature is not supported by the WM9703. This may be determined by the AC'97 controller interrogating the WM9703 Vendor ID register.
SLOTS 7 TO 12: RESERVED
Audio input frame slots 7 to 12 are reserved for future use and are always stuffed with 0s by the WM9703.
AC-LINK LOW POWER MODE
The AC-link signals can be placed in a low power mode. When the WM9703's Powerdown Register 26h, is programmed to the appropriate value, both BIT_CLK and SDATA_IN will be brought to, and held at a logic low voltage level. BIT_CLK and SDATA_IN are transitioned low immediately following the decode of the write to the Powerdown Register 26h with PR4. When the AC'97 controller driver is at the point where it is ready to program the AC-link into its low power mode, slots 1 and 2 are assumed to be the only valid stream in the audio output frame. At this point in time it is assumed that all sources of audio input have also been neutralised. The AC'97 controller should also drive SYNC and SDATA_OUT low after programming the WM9703 to this low power, halted mode. Once the WM9703 has been instructed to halt BIT_CLK, a special wake up protocol must be used to bring the AC-link to the active mode since normal audio output and input frames can not be communicated in the absence of BIT_CLK.
PD Rev 3.5 September 2001 20
WM9703
Production Data
WAKING UP THE AC-LINK
There are 2 methods for bringing the AC-link out of a low power, halted mode. Regardless of the method, it is the AC'97 controller that performs the wake up task. AC-link protocol provides for a Cold WM9703 Reset, and a Warm WM9703 Reset. The current powerdown state would ultimately dictate which form of WM9703 reset is appropriate. Unless a cold or register reset (a write to the reset register) is performed, wherein the WM9703 registers are initialised to their default values, registers are required to keep state during all powerdown modes. Once powered down, re-activation of the AC-link via re-assertion of the SYNC signal must not occur for a minimum of 4 audio frame times following the frame in which the powerdown was triggered. When AC-link powers up it indicates readiness via the Codec Ready bit (input slot 0, bit 15).
COLD WM9703 RESET
A cold reset is achieved by asserting RESETB for the minimum specified time. By driving RESETB low, BIT_CLK, and SDATA_OUT will be activated, or re-activated as the case may be, and all the WM9703 control registers will be initialised to their default power on reset values. RESETB is an asynchronous WM9703 input.
WARM WM9703 RESET
A warm WM9703 reset will re-activate the AC-link without altering the current WM9703 register values. A warm reset is signalled by driving SYNC high for a minimum of 1S in the absence of BIT_CLK. Within normal audio frames SYNC is a synchronous input. In the absence of BIT_CLK, SYNC is treated as an asynchronous input used in the generation of a warm reset to the WM9703. The WM9703 will not respond with the activation of BIT_CLK until SYNC has been sampled low again by the WM9703. This will preclude the false detection of a new audio frame.
SERIAL INTERFACE REGISTER MAP DESCRIPTION
(See Table 21) The serial interface bits perform control functions described as follows: The register map is fully specified by the AC'97 specification, and this description is simply repeated below, with optional unsupported features omitted.
RESET REGISTER (INDEX 00h)
Writing any value to this register performs a register reset, which causes all registers to revert to their default values. Reading this register returns the ID code of the part, indication of modem support (not supported by the WM9703) and a code for the type of 3D stereo enhancement. The ID decodes the capabilities of the WM9703 based on the following: BIT ID0 ID1 ID2 ID3 ID4 ID5 ID6 ID7 ID8 ID9 SE4...SE0 FUNCTION Dedicated Mic PCM in channel Modem line codec support Bass and treble control Simulated stereo (mono to stereo) Headphone out support Loudness (bass boost) support 18-bit DAC resolution 20-bit DAC resolution 18-bit ADC resolution 20-bit ADC resolution Wolfson Microelectronics 3D enhancement VALUE ON WM9703 0 0 0 0 1 0 1 0 1 0 11000
Table 9 Reset Register Function Note that the WM9703 defaults to indicate 18-bit compatibility. However, a control bit may be set in the vendor-specific registers that changes bits ID6 and ID8 to be 0, indicating a 16-bit device. It is unlikely that this function will be required, however, as the MSB justification of the ADC and DAC PD Rev 3.5 September 2001 21
WM9703
Production Data data means that a nominally 18-bit device should be fully compatible with controllers that only provide 16-bit support. Most PC type applications will only require 16-bit operation.
PLAY MASTER VOLUME REGISTERS (INDEX 02h, 04h AND 06h)
These registers manage the output signal volumes. Register 02h controls the stereo master volume (both right and left channels), Register 04h controls the optional stereo headphone out, and Register 06h controls the mono volume output. Each step corresponds to 1.5dB. The MSB of the register is the mute bit. When this bit is set to 1 the level for that channel is set at -dB. ML5 to ML0 is for left channel level, MR5 to MR0 is for the right channel and MM5 to MM0 is for the mono out channel. Support for the MSB of the volume level is not provided by the WM9703. If the MSB is written to, then the WM9703 detects when that bit is set and sets all 4 LSBs to 1s. Example: If the driver writes a 1xxxxx the WM9703 interprets that as x11111. It will also respond when read with x11111 rather than 1xxxxx, the value written to it. The driver can use this feature to detect if support for the 6th bit is there or not. The default value of both the mono and the stereo registers is 8000h (1000 0000 0000 0000), which corresponds to 0dB gain with mute on. MUTE 0 0 0 1 MX4...MX0 0 0000 0 0001 1 1111 x xxxx FUNCTION 0dB attenuation 1.5dB attenuation 46.5dB attenuation
dB attenuation
Table 10 Volume Register Function
MASTER TONE CONTROL REGISTERS (INDEX 08h)
Optional register for support of tone controls (bass and treble). The WM9703 does not support bass and treble and writing to this register will have no effect. Reading will result in all don't care values.
PC BEEP REGISTER (INDEX 0Ah)
This controls the level for the PC-beep input. Each step corresponds to approximately 3dB of attenuation. The MSB of the register is the mute bit. When this bit is set to 1 the level for that channel is set at -dB. WM9703 defaults to the PC-beep path being muted, so an external speaker should be provided within the PC to alert the user to power on self-test problems. MUTE 0 0 1 PV3...PV0 0000 1111 xxxx FUNCTION 0dB attenuation 45dB attenuation
dB attenuation
Table 11 PC-beep Register Function
ANALOGUE MIXER INPUT GAIN REGISTERS (INDEX 0Ch - 18h)
This controls the gain/attenuation for each of the analogue inputs. Each step corresponds to approximately 1.5dB. The MSB of the register is the mute bit. When this bit is set to 1 the level for that channel is set at -dB.
REGISTER 0Eh (MIC VOLUME REGISTER)
This has an extra bit that is for a 20dB boost. When bit 6 is set to 1 the 20dB boost is on. The default value is 8008, which corresponds to 0dB gain with mute on. The default value for the mono registers is 8008h, which corresponds to 0dB gain with mute on. The default value for stereo registers is 8808h, which corresponds to 0dB gain with mute on. MUTE 0 0 0 1 GX4...GX0 00000 01000 11111 XXXXX FUNCTION +12dB gain 0dB gain -34.5dB gain -dB gain
Table 12 Mixer Gain Control Register Function PD Rev 3.5 September 2001 22
WM9703
Production Data
PD Rev 3.5 September 2001 23
WM9703
RECORD SELECT CONTROL REGISTER (INDEX 1Ah)
Production Data
Used to select the record source independently for right and left (see Table 13). The default value is 0000h, which corresponds to Mic in. SR2 TO SR0 0 1 2 3 4 5 6 7 RIGHT RECORD SOURCE Mic CD in (R) Video in (R) Aux in (R) Line in (R) Stereo mix (R) Mono mix Phone SL2 TO SL0 0 1 2 3 4 5 6 7 LEFT RECORD SOURCE Mic CD in (L) Video in (L) Aux in (L) Line in (L) Stereo mix (L) Mono mix Phone
Table 13 Record Select Register Function
RECORD GAIN REGISTERS (INDEX 1Ch AND 1Eh)
1Ch is for the stereo input and 1Eh is for the optional special purpose correlated audio Mic channel. Each step corresponds to 1.5dB. 22.5dB corresponds to 0F0Fh and 000Fh respectively. The MSB of the register is the mute bit. When this bit is set to 1, the level for that channel(s) is set at -dB. The default value is 8000h, which corresponds to 0dB gain with mute on. MUTE 0 0 1 GX3...GX0 1111 0000 xxxxx FUNCTION +22.5dB gain 0dB gain -dB gain
Table 14 Record Gain Register Function
GENERAL PURPOSE REGISTER (INDEX 20h)
This register is used to control several miscellaneous functions of the WM9703. Below is a summary of each bit and its function. Only the 3D, MIX, MS and LPBK bits are supported by the WM9703. The MS bit controls the Mic selector. The LPBK bit enables loopback of the ADC output to the DAC input without involving the AC-link, allowing for full system performance measurements. The function default value is 8000h which is all off. BIT POP ST 3D LD LLBK RLBK MIX MS LPBK FUNCTION PCM out path and mute, 0 = pre-3D, 1 = post-3D Simulated stereo enhancement, on/off 1 = on 3D stereo enhancement on/off, 1 = on Loudness (bass boost) on/off, 1 = on Local loop back - for modem, line codec Remote loop back - for modem, line codec Mono output select 0 = Mix, 1 = Mic Mic select 0 = Mic1, 1 = Mic2 ADC/DAC/ loopback mode WM9703 SUPPORT Yes, but fixed at 1 No Yes No No No Yes Yes Yes
Table 15 General Purpose Register Function
3D CONTROL REGISTER (INDEX 22h)
This register is used to control the centre and/or depth of the 3D stereo enhancement function built into of the AC'97 component. Only the depth bits, DP0 to 3 have effect in the WM9703. DP3...DP0 0 1 8 DEPTH 0%
Typical value
PD Rev 3.5 September 2001 24
WM9703
15 100%
Production Data
RESERVED REGISTER (INDEX 24h)
This register was originally specified to control what sample rate AC'97 is sending or receiving samples for the optional modem in and out. Not supported by the WM9703.
POWERDOWN CONTROL/STATUS REGISTER (INDEX 26h)
This read/write register is used to program powerdown states and monitor subsystem readiness. The lower half of this register is read only status, a 1 indicating that the subsection is ready. Ready is defined as the subsection able to perform in its nominal state. When this register is written the bit values that come in on AC-link will have no effect on read only bits 0 to7. When the AC-link Codec Ready indicator bit (SDATA_IN slot 0, bit 15) is a 1 it indicates that the AClink and the WM9703 control and status registers are in a fully operational state. The AC'97 controller must further probe this Powerdown Control/Status Register to determine exactly which subsections, if any, are ready. READ BIT REF ANL DAC ADC FUNCTION VREFs up to nominal level Analogue mixers, etc ready DAC section ready to accept data ADC section ready to transmit data
Table 16 Powerdown Status Register Function The powerdown modes are as follows. The first three bits are to be used individually rather than in combination with each other. The last bit PR3 can be used in combination with PR2 or by itself. PR0 and PR1 control the PCM ADCs and DACs only. PR6 is not supported by the WM9703. WRITE BIT PR0 PR1 PR2 PR3 PR4 PR5 PR6 EAPD FUNCTION PCM in ADCs and input Mux powerdown PCM out DACs powerdown Analogue mixer powerdown (VREF still on) Analogue mixer powerdown (VREF off) Digital interface (AC-link) powerdown (external clock off) Internal clock disable HP amp powerdown - not supported External amplifier powerdown
Table 17 Powerdown Control Register Function
PR0 = 1
PR1 = 1
PR2 = 1
PR4 = 1
NORMAL
ADCs OFF PR0
DACs OFF PR1
ANALOGUE OFF PR2 OR PR3
DIGITAL I/F OFF PR4
SHUT OFF CODA LINK
PR0 = 0 AND ADC = 1
PR1 = 0 AND DAC = 1
PR2 = 0 AND ANL = 1
WARM RESET
READY = 1 DEFAULT
COLD RESET
Figure 17 An Example of the WM9703 Powerdown/Powerup Flow PD Rev 3.5 September 2001 25
WM9703
Production Data Figure 17 illustrates one example of a procedure to do a complete powerdown of the WM9703. From normal operation sequential writes to the Powerdown Register are performed to powerdown the WM9703 a piece at a time. After everything has been shut off (PR0 to PR3 set), a final write (of PR4) can be executed to shut down the WM9703's digital interface (AC-link). The part will remain in sleep mode with all its registers holding their static values. To wake up the WM9703, the AC'97 controller will send a pulse on the sync line issuing a warm reset. This will restart the WM9703's digital interface (resetting PR4 to 0). The WM9703 can also be woken up with a cold reset. A cold reset will cause a loss of values of the registers, as a cold reset will set them to their default states. When a section is powered back on, the Powerdown Control/Status Register index 26h should be read to verify that the section is ready (i.e. stable) before attempting any operation that requires it. Alternatively if RESETB is held low, all PR bits are held set so the device is held powered off until RESETB is taken high again.
PR1 = 1
PR2 = 1
PR4 = 1
ADCs OFF PR0
DACs OFF PR1
ANALOGUE OFF PR2 OR PR3
DIGITAL I/F OFF PR4
SHUT OFF CODA LINK
PR1 = 0 AND DAC = 1
PR2 = 0 AND ANL = 1
WARM RESET
Figure 18 The WM9703 Powerdown/Flow with Analogue Still Alive Figure 18 illustrates a state when all the mixers should work with the static volume settings that are contained in their associated registers. This is used when the user is playing a CD (or external LINEIN source) through WM9703 to the speakers but has most of the system in low power mode. The procedure for this follows the previous except that the analogue mixer is never shut down.
POWERDOWN CONTROL/STATUS REGISTER (INDEX 26h)
Note that in order to go into ultimate low power mode, PR5 is required to be set which turns off the oscillator circuit. Asserting SYNC resets the PR5 bit and re-starts the oscillator in the same was as the AC link is restarted. Also when RESETB pin is asserted low, all PR bits are over-ridden and the entire device is powered off to ultra low power state for as long as RESETB = low. On releasing RESETB, the device is reset (all active) and powered up.
REVISION 2.1 REGISTERS (INDEX 28h T0 58h)
These registers are specified as to use in Revision 2.1 of the AC'97 specification and have the following functions on the WM9703:
REGISTER 28h - EXTENDED AUDIO ID
The Extended Audio ID register is a read only register that identifies which extended audio features are supported (in addition to the original AC'97 features identified by reading the reset register at index 00h). A non zero value indicates the feature is supported.
PD Rev 3.5 September 2001 26
WM9703
DATA BIT VRA DRA VRM CDAC SDAC LDAC AMAP ID1 ID0 FUNCTION Variable rate audio support Double rate audio support Variable rate Mic ADC support Centre DAC support Surround DAC support LFE DAC support Slot to front DAC mapping support Codec configuration - pin 45 value Codec configuration - pin 46 value 1 0 0 0 0 0 1
Production Data ANY MODE
Inverse of level at pin 45 Inverse of level at pin 46
Table 18 Extended Audio Capability Register
REGISTER 2Ah - EXTENDED AUDIO STATUS AND CONTROL REGISTER
The Extended Audio Status and Control Register is a read/write register that provides status and control of the extended audio features. DATA BIT VRA DRA VRM CDAC SDAC LDAC MADC PRI PRJ PRK PRL FUNCTION Enables variable rate audio mode Enable double rate audio mode Enables variable rate Mic ADC Indicates centre DAC ready Indicates surround DAC ready Indicates LFE DAC ready Indicates Mic ADC ready Set to turn off centre DAC Set to turn off surround DACs Set to turn off LFE DACs Set to turn off Mic ADC READ/WRITE Read/write Read/write Read/write Read Read Read Read Read/write Read/write Read/write Read/write WM9703 SUPPORT Yes No No Yes Yes Yes No Enable only Enable only Enable only No
Table 19 Extended Audio Status and Control Register
REGISTER 2Ch TO 32h - AUDIO SAMPLE RATE CONTROL REGISTERS
These registers are read/write registers that are written to, to select alternative sample rates for the audio PCM converters. Default is the 48ks/s rate. Note that only Revision 2.1 recommended rates are supported by the WM9703, selection of any other unsupported rates will cause the rate to default to the nearest supported rate, and the supported rate value to be latched and so read back. Register 2Ch is the front DAC rate register, but is also used for centre channel data rate.
REGISTERS 36h AND 38h - 6 CHANNEL VOLUME CONTROL
These read/write registers control the output volume of the optional four PCM channels. (not supported by the WM9703)
VENDOR RESERVED REGISTERS (INDEX 5Ah AND 7Ah)
These registers are vendor specific. Do not write to these registers unless the Vendor ID register has been checked first to ensure that the driver knows the source of the AC `97 component.
VENDOR SPECIFIC GAIN CONTROL REGISTERS - (INDEX 70h TO 74h)
Not used in the WM9703.
VENDOR ID REGISTERS (INDEX 7Ch TO 7Eh)
This register is for specific vendor identification if so desired. The ID method is Microsoft's Plug and Play Vendor ID code. The first character of that ID is F7 to F0, the second character S7 to S0, and the third T7 to T0. These three characters are ASCII encoded. The REVISION7 to REVISION0 field is for the Vendor Revision number. In the WM9703 the vendor ID is set to WML3. Wolfson is a registered Microsoft Plug and Play vendor.
PD Rev 3.5 September 2001 27
WM9703 SERIAL INTERFACE REGISTER MAP
Production Data
The following table shows the function and address of the various control bits that are loaded through the serial interface during write operations. Name D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 Reset X SE4 SE3 SE2 SE1 SE0 ID9 ID8 ID7 ID6 ID5 ID4 ID3 ID2 ID1 Master volume Mute X X ML4 ML3 ML2 ML1 ML0 X X X MR4 MR3 MR2 MR1 LNLVL volume Mute X X ML4 ML3 ML2 ML1 ML0 X X X MR4 MR3 MR2 MR1 Master volume Mute X X X X X X X X X X MM4 MM3 MM2 MM1 mono 0Ah PCBEEP volume Mute X X X X X X X X X X PV3 PV2 PV2 PV0 0Ch Phone volume Mute X X X X X X X X X X GN4 GN3 GN2 GN1 0Eh Mic volume Mute X X X X X X X X 20dB X GN4 GN3 GN2 GN1 10h Line in volume Mute X X GL4 GL3 GL2 GL1 GL0 X X X GR4 GR3 GR2 GR1 12h CD volume Mute X X GL4 GL3 GL2 GL1 GL0 X X X GR4 GR3 GR2 GR1 14h Video volume Mute X X GL4 GL3 GL2 GL1 GL0 X X X GR4 GR3 GR2 GR1 16h Aux volume Mute X X GL4 GL3 GL2 GL1 GL0 X X X GR4 GR3 GR2 GR1 18h PCM out volume Mute X X GL4 GL3 GL2 GL1 GL0 X X X GR4 GR3 GR2 GR1 1Ah Rec select X X X X X SL2 SL1 SL0 X X X X X SR2 SR1 1Ch Rec gain Mute X X X GL3 GL2 GL1 GL0 X X X X GR3 GR2 GR1 20h General purpose POP ST 3D lD X X MIX MS LPBK X X X X X X 22h 3D control X X X X X X X X X X X X DP3 DP2 DP1 24h Reserved x x x x x x x x x x x x x x x 26h Power/down control EAPD X PR5 PR4 PR3 PR2 PR1 PR0 X X X X REF ANL DAC status 28h Ext'd audio ID ID1 ID0 X X X X Amap Ldac Sdac Cdac X X VRM X DRA 2Ah Ext'd audio stat/ctrl X PRL PRK PRJ PRI X Madc Ldac Sdac Cdac X X VRM X DRA 2Ch Front DAC rate SR15 SR14 SR13 SR12 SR11 SR10 SR9 SR8 SR7 SR6 SR5 SR4 SR3 SR2 SR1 32h Audio ADC rate SR15 SR14 SR13 SR12 SR11 SR10 SR9 SR8 SR7 SR6 SR5 SR4 SR3 SR2 SR1 72h Front mixer volume Mute X X GL4 GL3 GL2 GL1 GL0 X X X GR4 GR3 GR2 GR1 74h Surround sound X X X X X X X X X X X X X X X 7Ah Vendor reserved X X X X X X X X X X X X X X X 7Ch Vendor ID1 F7 F6 F5 F4 F3 F2 F1 F0 S7 S6 S5 S4 S3 S2 S1 7Eh Vendor ID2 T7 T6 T5 T4 T3 T2 T1 T0 Rev7 Rev6 Rev5 Rev4 Rev3 Rev2 Rev1 Table 21 Serial Interface Register Map Description Reg 00h 02h 04h 06h D0 Default ID0 6150h MR0 8000h MR0 8000h MM0 8000h X GN0 GN0 GR0 GR0 GR0 GR0 GR0 SR0 GR0 X DP0 x ADC VRA VRA SR0 SR0 GR0 X X S0 Rev0 8000h 8008h 8008h 8808h 8808h 8808h 8808h 8808h 0000h 8000h 0000h 0000h 0000h 000Fh 0201h 0000h BB80h BB80h 0808h 0000h 0000h 574Dh 4C03h
PD Rev 3.5 September 2001 28
WM9703
Production Data
RECOMMENDED EXTERNAL COMPONENTS
DVDD AVDD 1
C1 C2
DVDD1 DVDD2 DVSS1 DVSS2
AVDD1 AVDD2 AVSS1 AVSS2
25 38
C3 C4
9 4 7
26 42
DGND
C5 C6 C7 C8 C9 C10
12 13 14 15 16 17 18 19 20 21
AGND PCBEEP PHONE AUXL AUXR VIDEOL VIDEOR CDL CDGND CDR MIC1 MIC2 LINEINL LINEINR LINEOUTL LINEOUTR MONOOUT LNLVLOUTL LNLVLOUTR 35 36 37 39 41 AGND CX3D1 CX3D2 33 34
C27 C28
VREF VREFOUT AFILT1 CAP1 CAP2
27 28 29 31 32
C21 C22 C23 C25 C18 C19 C20
+
MIXER INPUTS
C11 C12 C13 C14
+
C24
+
C26
+
AGND
WM9703
AGND
C15 22 C16 C17
23 24
30 40
+ + + + +
C29 C30 C31 C32 C33
NC NC CID1 CID2
STEREO OUTPUT MONO OUTPUT LINE LEVEL STEREO
MASTER/ SLAVE CONTROL
NOTES: 1. Pins 27, 29 and 31 are internally connected. It is recommended that capacitors only be connected to one of these pins. 2. C1 to C28 should be as close to WM9704Q as possible. 3. AGND and DGND should be connected as close to WM9704Q as possible.
46 45 AVSS 5 6
SDATAOUT NC BITCLK NC SDATAIN NC SYNC EAPD RESETB XTLIN 2
XT C34 C35
43 44 48 47
AC-LINK
8 10 11
XTLOUT 3
DGND
Figure 19 External Components Diagram
PD Rev 3.5 September 2001 29
WM9703
RECOMMENDED EXTERNAL COMPONENTS VALUES
COMPONENT REFERENCE C1 to C4 C5 to C17 C18 C19 C20 C21 C22 C23 C24 C25 C26 C27 C28 C29 to C33 C34 and C35 XT SUGGESTED VALUE 10nF 470nF 1F 0.1F 10F 0.1F 10F 0.1F 10F 0.1F 10F 100nF 47nF 10F 22pF 24.576 MHz 3D low pass filter. This value sets nominal 100Hz. 3D high pass filter. This value sets nominal 1kHz. Output AC coupling caps to remove VREF DC level from outputs. Optional capacitors for better crystal frequency stability. DESCRIPTION De-coupling for DVDD and AVDD
Production Data
AC coupling capacitors for setting DC level of analogue inputs to VCAP1. Value chosen to give corner frequency below 20Hz for min 10K input impedance. Reference de-coupling capacitors for ADC, DAC, Mixer and CAP2 references. Ceramic type or similar.
AC'97 master clock frequency. A bias resistor is not required, but if connected will not affect operation if value is large (above 1M).
Table 24 External Component Values
RECOMMENDATIONS FOR 3.3V OPERATION
The device's performance with AVDD = 3.3V is shown in Electrical Characteristics. In 3.3V analogue operation, mid-rail reference scales to 1.5V. All ADC and DAC references are 3/5ths of their nominal 5V value. Input and output signals that are 1Vrms in 5V applications, scale to 660mVrms in 3.3V applications. If 1Vrms output is required, the mixer gain adjust PGAs need to be increased by 3 times 1.5dB steps.
PD Rev 3.5 September 2001 30
WM9703
Production Data
PACKAGE DIMENSIONS
FT: 48 PIN TQFP (7 x 7 x 1.4 mm) DM003.B
b
e
25
36
37
24
E1
E
48
13
1
12
D1 D c
A A2
A1
L
-Cccc C
SEATING PLANE
Symbols A A1 A2 b c D D1 E E1 e L MIN ----0.05 1.35 0.17 0.09
ccc REF:
0.45 o 0
Dimensions (mm) NOM --------1.40 0.22 ----9.00 BSC 7.00 BSC 9.00 BSC 7.00 BSC 0.50 BSC 0.60 o 3.5
MAX 1.60 0.15 1.45 0.27 0.20
0.75 o 7
Tolerances of Form and Position 0.08 JEDEC.95, MS-026
NOTES: A. ALL LINEAR DIMENSIONS ARE IN MILLIMETERS. B. THIS DRAWING IS SUBJECT TO CHANGE WITHOUT NOTICE. C. BODY DIMENSIONS DO NOT INCLUDE MOLD FLASH OR PROTRUSION, NOT TO EXCEED 0.25MM. D. MEETS JEDEC.95 MS-026, VARIATION = BBC. REFER TO THIS SPECIFICATION FOR FURTHER DETAILS.
PD Rev 3.5 September 2001 31
WM9703 IMPORTANT NOTICE
Production Data
Wolfson Microelectronics Ltd (WM) reserve the right to make changes to their products or to discontinue any product or service without notice, and advise customers to obtain the latest version of relevant information to verify, before placing orders, that information being relied on is current. All products are sold subject to the WM terms and conditions of sale supplied at the time of order acknowledgement, including those pertaining to warranty, patent infringement, and limitation of liability.
WM warrants performance of its products to the specifications applicable at the time of sale in accordance with WM's standard warranty. Testing and other quality control techniques are utilised to the extent WM deems necessary to support this warranty. Specific testing of all parameters of each device is not necessarily performed, except those mandated by government requirements.
In order to minimise risks associated with customer applications, adequate design and operating safeguards must be used by the customer to minimise inherent or procedural hazards.
WM assumes no liability for applications assistance or customer product design. WM does not warrant or represent that any license, either express or implied, is granted under any patent right, copyright, mask work right, or other intellectual property right of WM covering or relating to any combination, machine, or process in which such products or services might be or are used. WM's publication of information regarding any third party's products or services does not constitute WM's approval, license, warranty or endorsement thereof.
Reproduction of information from the WM web site or datasheets is permissable only if reproduction is without alteration and is accompanied by all associated warranties, conditions, limitations and notices. Representation or reproduction of this information with alteration voids all warranties provided for an associated WM product or service, is an unfair and deceptive business practice, and WM is not responsible nor liable for any such use.
Resale of WM's products or services with statements different from or beyond the parameters stated by WM for that product or service voids all express and any implied warranties for the associated WM product or service, is an unfair and deceptive business practice, and WM is not responsible nor liable for any such use.
ADDRESS:
Wolfson Microelectronics Ltd 20 Bernard Terrace Edinburgh EH8 9NX United Kingdom
Tel :: +44 (0)131 667 9386 Fax :: +44 (0)131 667 5176 Email :: sales@wolfsonmicro.com
PD Rev 3.5 September 2001 32


▲Up To Search▲   

 
Price & Availability of WM9703

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X